package com.chinacoal.hr.levelapi.api.fallback;

import com.chinacoal.hr.levelapi.api.CapUserClient;
import com.chinacoal.hr.levelapi.entity.EmployeeVO;
import com.chinacoal.hr.levelapi.util.CodeMsg;
import com.chinacoal.hr.levelapi.util.Result;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author: YunTao.Li
 * @create: 2019-12-23 13:18
 * @description:
 **/
@Component
public class CapUserFallback implements CapUserClient {
    @Override
    public Result<EmployeeVO> findEmpByUserId(String paramString) {
        return Result.error(CodeMsg.FALLBACK);
    }

    @Override
    public Result getEmpDetail(Integer userId, String userName) {
        return Result.error(CodeMsg.FALLBACK);
    }

    @Override
    public Result<List<EmployeeVO>> findEmpByEmpCode(String empCode) {
        return Result.error(CodeMsg.FALLBACK);
    }
}
